gridpack::parser::IeelblParser< _data_struct > Class Template Reference

#include <ieelbl.hpp>

List of all members.

Public Member Functions

 IeelblParser ()
virtual ~IeelblParser ()
void extract (_data_struct &data_struct, gridpack::component::DataCollection *data, int l_id)
void parse (std::vector< std::string > &split_line, gridpack::component::DataCollection *data, int l_id)
void store (std::vector< std::string > &split_line, _data_struct &data)

template<class _data_struct>
class gridpack::parser::IeelblParser< _data_struct >


Constructor & Destructor Documentation

template<class _data_struct >
gridpack::parser::IeelblParser< _data_struct >::IeelblParser (  )  [explicit]

Constructor

template<class _data_struct >
virtual gridpack::parser::IeelblParser< _data_struct >::~IeelblParser (  )  [virtual]

Destructor


Member Function Documentation

template<class _data_struct >
void gridpack::parser::IeelblParser< _data_struct >::extract ( _data_struct &  data_struct,
gridpack::component::DataCollection data,
int  l_id 
)

Extract data from _data_struct and store it in data collection object

Parameters:
data_struct data struct object
data data collection object
gen_id index of generator

References gridpack::component::DataCollection::addValue(), gridpack::component::DataCollection::getValue(), LOAD_A1, LOAD_A2, LOAD_A3, LOAD_A4, LOAD_A5, LOAD_A6, LOAD_A7, LOAD_A8, LOAD_MODEL, LOAD_N1, LOAD_N2, LOAD_N3, LOAD_N4, LOAD_N5, LOAD_N6, and gridpack::component::DataCollection::setValue().

template<class _data_struct >
void gridpack::parser::IeelblParser< _data_struct >::parse ( std::vector< std::string > &  split_line,
gridpack::component::DataCollection data,
int  l_id 
)

Parser list of strings and store results in data collection object

Parameters:
split_line list of tokens from .dyr file
data data collection object
model name of generator model
gen_id index of generator

References gridpack::component::DataCollection::addValue(), gridpack::component::DataCollection::getValue(), LOAD_A1, LOAD_A2, LOAD_A3, LOAD_A4, LOAD_A5, LOAD_A6, LOAD_A7, LOAD_A8, LOAD_MODEL, LOAD_N1, LOAD_N2, LOAD_N3, LOAD_N4, LOAD_N5, LOAD_N6, gridpack::component::DataCollection::setValue(), gridpack::utility::StringUtils::toUpper(), and gridpack::utility::StringUtils::trimQuotes().

template<class _data_struct >
void gridpack::parser::IeelblParser< _data_struct >::store ( std::vector< std::string > &  split_line,
_data_struct &  data 
)

Parse list of strings store results in data_struct object

Parameters:
split_line list of tokens from .dyr file
data data struct that stores information from file

References gridpack::utility::StringUtils::clean2Char(), gridpack::utility::StringUtils::toUpper(), and gridpack::utility::StringUtils::trimQuotes().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Feb 2020 for GridPACK by  doxygen 1.6.1